<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
        xmlns:c="http://java.sun.com/jstl/core" 
        xmlns:p="http://primefaces.org/ui"
        xmlns:ui="http://java.sun.com/jsf/facelets"
        
        >

    <ui:composition template="template.xhtml">

<ui:define name="content">

            
    <h:panelGroup rendered="#{account.isLogged}">
                  <center>Welcome back
                    <b>
                        <h:outputText value="#{account.customer.firstname} "/>
                        
                        <h:outputText value=" #{account.customer.lastname}"/>
                    </b>
                </center>
        
    </h:panelGroup>
   

            <h:messages layout="table" styleClass="error"/>

            <p/>
           
            <map name="pestoremap">
                <area alt="Birds" coords="72,2,280,250" shape="RECT"
                      href=""/>
                <area alt="Fish" coords="2,180,72,250" shape="RECT"
                      href=""/>
                <area alt="Dogs" coords="60,250,130,320" shape="RECT"
                      href=""/>
                <area alt="Reptiles" coords="140,270,210,340" shape="RECT"
                      href=""/>
                <area alt="Cats" coords="225,240,295,310" shape="RECT"
                      href=""/>
                <area alt="Birds" coords="280,180,350,250" shape="RECT"
                      href=""/>
            </map>
            <img src="images/splash.gif"
                 border="0" width="350" height="355"
                 align="center" usemap="#pestoremap"
                 style="margin-left: 200px"
                 alt=""/>
           
</ui:define>
	
        
    </ui:composition>
</html>
